﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZSZ.Model;

namespace ZSZ.IService
{
    public partial interface IRolePermissionService : IBaseService<RolePermission>
    {
        /// <summary>
        /// 给角色roleId增加权限项id permIds
        /// </summary>
        /// <param name="roleId"></param>
        /// <param name="permIds"></param>
        void Add(long roleId, long[] perpmissionIds);
        void Update(long roleId, long[] perpmissionIds);
    }
}
